<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<div class="detail">
	<form id="infoForm" target="hiddenFrame" action="${path}/mc/authsaveInfo" method="post" enctype="multipart/form-data">
		<fieldset style="padding-left: 10px;">
		  	<input type="hidden" name="entity.id" value="${entity.id}" />
			<table>
				<tr>
					<td>所属模块</td>
					<td>
						<select name="entity.moduleId" dir="${entity.moduleId}">
							<c:forEach var="module" items="${MODELMAP}">
								<option value="${module.key}">${module.value}</option>
							</c:forEach>
						</select>
					</td>
				</tr>
			  	<tr>
			  		<td>权限名称</td>
			  		<td>
			  			<input type="text" name="entity.keyName" value="${entity.keyName}" class="{required:true,messages:{required:'请填写权限名称'}}" />
			  		</td>
			  	</tr>
			  	<tr>
			  		<td>权限显示名称</td>
			  		<td>
			  			<input type="text" name="entity.funcName" value="${entity.funcName}" class="{required:true,messages:{required:'请填写权限显示名称'}}" />
			  		</td>
			  	</tr>
			  	<tr>
			  		<td>是否操作按钮</td>
			  		<td>
			  			<select name="entity.isOp" dir="${entity.isOp}">
			  				<option value="2">否</option>
			  				<option value="1">是</option>
			  			</select>
			  		</td>
			  	</tr>
		   </table>
		</fieldset>
	</form>
</div>